<?php

class Admin_IndexController extends My_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
        parent::init();
    }

    public function indexAction()
    {
        $auth = Zend_Auth::getInstance();
        if ($auth->hasIdentity())
        {
            $username = $auth->getIdentity()->user;
            $this->view->userName = $username;
        }
    }


}

